/*
 *  ASourceClip.h
 *  
 *
 *  Created by Peter on 23.02.12.
 *  Copyright 2012 __MyCompanyName__. All rights reserved.
 *
 */

#ifndef A_SOURCE_CLIP_H
#define A_SOURCE_CLIP_H

#include "AClip.h"
#include "AvTypes.h"

/*
 * NOTE: TCCP  FILL  TRKR  ECCP are all derived from AComponent. AComposition 
 * and 'MASK' also somehow seem to be derived from AComponent, though 
 * AComposition seems to have ATrackGroup in there somewhere.
 * Version: 3 (MC 5.0.3)
 */
class ASourceClip : public AClip
{

public:
	
	A_DECLARE_CLASS( 'SCLP', ASourceClip, AComponent );
	
	virtual void readFromStream( AStream& str, const AObjDoc& objd );
	virtual void dump( std::ostream& str ) const;
	
	Int32 _mobIdHigh;      // MobID.high      : 0
	Int32 _mobIdLow;       // MobID.low       : 0
	Int16 _sourceTrack;    // OMFI:SCLP:SourceTrack: 0
	Int32 _sourcePosition; // OMFI:SCLP:SourcePosition: 0
	
	// PClass Extension MobId
	aafMCMobID_t _mobId;
	
};

#endif /*Inclusion Guard*/